PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Liquid Ripples / suksma - to dwell in wood rot - swept - inf fin bnd.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=0.000 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=2.630 |
| 27 | fWaveSmoothing=0.630 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=1.000 |
| 30 | fModWaveAlphaEnd=1.100 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=2.853 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=1.06400 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.00000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=1.000 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.010 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.010 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=12.000 |
| 60 | nMotionVectorsY=9.000 |
| 61 | mv_dx=1.000 |
| 62 | mv_dy=1.000 |
| 63 | mv_l=5.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=128 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=0.50000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=0.000 |
| 85 | wavecode_0_g=0.000 |
| 86 | wavecode_0_b=0.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_point1=x=sample*0.48; |
| 89 | wave_0_per_point2=y=0.5+(value1*0.5); |
| 90 | wave_0_per_point3=g=above(0.20,abs(y-0.5)); |
| 91 | wave_0_per_point4=r=below(0.10,abs(y-0.5)); |
| 92 | wavecode_1_enabled=1 |
| 93 | wavecode_1_samples=128 |
| 94 | wavecode_1_sep=0 |
| 95 | wavecode_1_bSpectrum=0 |
| 96 | wavecode_1_bUseDots=0 |
| 97 | wavecode_1_bDrawThick=1 |
| 98 | wavecode_1_bAdditive=0 |
| 99 | wavecode_1_scaling=0.50000 |
| 100 | wavecode_1_smoothing=0.50000 |
| 101 | wavecode_1_r=0.000 |
| 102 | wavecode_1_g=0.000 |
| 103 | wavecode_1_b=0.000 |
| 104 | wavecode_1_a=1.000 |
| 105 | wave_1_per_point1=x=0.52+(sample*0.48); |
| 106 | wave_1_per_point2=y=0.5+(value2*0.5); |
| 107 | wave_1_per_point3=g=above(0.20,abs(y-0.5)); |
| 108 | wave_1_per_point4=r=below(0.10,abs(y-0.5)); |
| 109 | wavecode_2_enabled=0 |
| 110 | wavecode_2_samples=512 |
| 111 | wavecode_2_sep=0 |
| 112 | wavecode_2_bSpectrum=0 |
| 113 | wavecode_2_bUseDots=0 |
| 114 | wavecode_2_bDrawThick=0 |
| 115 | wavecode_2_bAdditive=0 |
| 116 | wavecode_2_scaling=1.00000 |
| 117 | wavecode_2_smoothing=0.50000 |
| 118 | wavecode_2_r=1.000 |
| 119 | wavecode_2_g=1.000 |
| 120 | wavecode_2_b=1.000 |
| 121 | wavecode_2_a=1.000 |
| 122 | wavecode_3_enabled=0 |
| 123 | wavecode_3_samples=512 |
| 124 | wavecode_3_sep=0 |
| 125 | wavecode_3_bSpectrum=0 |
| 126 | wavecode_3_bUseDots=0 |
| 127 | wavecode_3_bDrawThick=0 |
| 128 | wavecode_3_bAdditive=0 |
| 129 | wavecode_3_scaling=1.00000 |
| 130 | wavecode_3_smoothing=0.50000 |
| 131 | wavecode_3_r=1.000 |
| 132 | wavecode_3_g=1.000 |
| 133 | wavecode_3_b=1.000 |
| 134 | wavecode_3_a=1.000 |
| 135 | shapecode_0_enabled=1 |
| 136 | shapecode_0_sides=20 |
| 137 | shapecode_0_additive=0 |
| 138 | shapecode_0_thickOutline=1 |
| 139 | shapecode_0_textured=0 |
| 140 | shapecode_0_num_inst=1 |
| 141 | shapecode_0_x=0.500 |
| 142 | shapecode_0_y=0.500 |
| 143 | shapecode_0_rad=0.04983 |
| 144 | shapecode_0_ang=0.00000 |
| 145 | shapecode_0_tex_ang=0.00000 |
| 146 | shapecode_0_tex_zoom=1.00000 |
| 147 | shapecode_0_r=0.000 |
| 148 | shapecode_0_g=0.000 |
| 149 | shapecode_0_b=0.000 |
| 150 | shapecode_0_a=1.000 |
| 151 | shapecode_0_r2=0.000 |
| 152 | shapecode_0_g2=0.000 |
| 153 | shapecode_0_b2=0.000 |
| 154 | shapecode_0_a2=1.000 |
| 155 | shapecode_0_border_r=0.000 |
| 156 | shapecode_0_border_g=0.000 |
| 157 | shapecode_0_border_b=1.000 |
| 158 | shapecode_0_border_a=1.000 |
| 159 | shape_0_per_frame1=myband = mid; |
| 160 | shape_0_per_frame2=yscale=if(int(rand(2)),.003,-.003); |
| 161 | shape_0_per_frame3=xscale=if(int(rand(2)),.003,-.003); |
| 162 | shape_0_per_frame4=yvol=myband*yscale; |
| 163 | shape_0_per_frame5=xvol=myband*xscale; |
| 164 | shape_0_per_frame6=y=.5+yvol; |
| 165 | shape_0_per_frame7=x=.5+xvol; |
| 166 | shape_0_per_frame8= |
| 167 | shape_0_per_frame9=rad=0.05+(myband*0.1); |
| 168 | shape_0_per_frame10=r=above(myband,1.2); |
| 169 | shape_0_per_frame11=r2=r; |
| 170 | shape_0_per_frame12=g=below(myband,1.5); |
| 171 | shape_0_per_frame13=g2=g; |
| 172 | shape_0_per_frame14= |
| 173 | shapecode_1_enabled=1 |
| 174 | shapecode_1_sides=20 |
| 175 | shapecode_1_additive=0 |
| 176 | shapecode_1_thickOutline=1 |
| 177 | shapecode_1_textured=0 |
| 178 | shapecode_1_num_inst=1 |
| 179 | shapecode_1_x=0.500 |
| 180 | shapecode_1_y=0.700 |
| 181 | shapecode_1_rad=0.04983 |
| 182 | shapecode_1_ang=0.00000 |
| 183 | shapecode_1_tex_ang=0.00000 |
| 184 | shapecode_1_tex_zoom=1.00000 |
| 185 | shapecode_1_r=0.000 |
| 186 | shapecode_1_g=0.000 |
| 187 | shapecode_1_b=0.000 |
| 188 | shapecode_1_a=1.000 |
| 189 | shapecode_1_r2=0.000 |
| 190 | shapecode_1_g2=0.000 |
| 191 | shapecode_1_b2=0.000 |
| 192 | shapecode_1_a2=1.000 |
| 193 | shapecode_1_border_r=0.000 |
| 194 | shapecode_1_border_g=0.000 |
| 195 | shapecode_1_border_b=1.000 |
| 196 | shapecode_1_border_a=1.000 |
| 197 | shape_1_per_frame1=myband = treb; |
| 198 | shape_1_per_frame2=yscale=if(int(rand(2)),.003,-.003); |
| 199 | shape_1_per_frame3=xscale=if(int(rand(2)),.003,-.003); |
| 200 | shape_1_per_frame4=yvol=myband*yscale; |
| 201 | shape_1_per_frame5=xvol=myband*xscale; |
| 202 | shape_1_per_frame6=y=.75+yvol; |
| 203 | shape_1_per_frame7=x=.5+xvol; |
| 204 | shape_1_per_frame8= |
| 205 | shape_1_per_frame9=rad=0.05+(myband*0.1); |
| 206 | shape_1_per_frame10=r=above(myband,1.2); |
| 207 | shape_1_per_frame11=r2=r; |
| 208 | shape_1_per_frame12=g=below(myband,1.5); |
| 209 | shape_1_per_frame13=g2=g; |
| 210 | shape_1_per_frame14= |
| 211 | shape_1_per_frame15= |
| 212 | shapecode_2_enabled=1 |
| 213 | shapecode_2_sides=20 |
| 214 | shapecode_2_additive=0 |
| 215 | shapecode_2_thickOutline=1 |
| 216 | shapecode_2_textured=0 |
| 217 | shapecode_2_num_inst=1 |
| 218 | shapecode_2_x=0.500 |
| 219 | shapecode_2_y=0.300 |
| 220 | shapecode_2_rad=0.04983 |
| 221 | shapecode_2_ang=0.00000 |
| 222 | shapecode_2_tex_ang=0.00000 |
| 223 | shapecode_2_tex_zoom=1.00000 |
| 224 | shapecode_2_r=0.000 |
| 225 | shapecode_2_g=0.000 |
| 226 | shapecode_2_b=0.000 |
| 227 | shapecode_2_a=1.000 |
| 228 | shapecode_2_r2=0.000 |
| 229 | shapecode_2_g2=0.000 |
| 230 | shapecode_2_b2=0.000 |
| 231 | shapecode_2_a2=1.000 |
| 232 | shapecode_2_border_r=0.000 |
| 233 | shapecode_2_border_g=0.000 |
| 234 | shapecode_2_border_b=1.000 |
| 235 | shapecode_2_border_a=1.000 |
| 236 | shape_2_per_frame1=myband = bass; |
| 237 | shape_2_per_frame2=yscale=if(int(rand(2)),.003,-.003); |
| 238 | shape_2_per_frame3=xscale=if(int(rand(2)),.003,-.003); |
| 239 | shape_2_per_frame4=yvol=myband*yscale; |
| 240 | shape_2_per_frame5=xvol=myband*xscale; |
| 241 | shape_2_per_frame6=y=.25+yvol; |
| 242 | shape_2_per_frame7=x=.5+xvol; |
| 243 | shape_2_per_frame8= |
| 244 | shape_2_per_frame9=rad=0.05+(myband*0.1); |
| 245 | shape_2_per_frame10=r=above(myband,1.2); |
| 246 | shape_2_per_frame11=r2=r; |
| 247 | shape_2_per_frame12=g=below(myband,1.5); |
| 248 | shape_2_per_frame13=g2=g; |
| 249 | shape_2_per_frame14= |
| 250 | shapecode_3_enabled=1 |
| 251 | shapecode_3_sides=12 |
| 252 | shapecode_3_additive=0 |
| 253 | shapecode_3_thickOutline=0 |
| 254 | shapecode_3_textured=0 |
| 255 | shapecode_3_num_inst=92 |
| 256 | shapecode_3_x=0.800 |
| 257 | shapecode_3_y=0.500 |
| 258 | shapecode_3_rad=0.03469 |
| 259 | shapecode_3_ang=1.57070 |
| 260 | shapecode_3_tex_ang=1.25664 |
| 261 | shapecode_3_tex_zoom=3.07260 |
| 262 | shapecode_3_r=1.000 |
| 263 | shapecode_3_g=1.000 |
| 264 | shapecode_3_b=1.000 |
| 265 | shapecode_3_a=1.000 |
| 266 | shapecode_3_r2=0.000 |
| 267 | shapecode_3_g2=0.000 |
| 268 | shapecode_3_b2=0.000 |
| 269 | shapecode_3_a2=0.000 |
| 270 | shapecode_3_border_r=1.000 |
| 271 | shapecode_3_border_g=0.000 |
| 272 | shapecode_3_border_b=0.000 |
| 273 | shapecode_3_border_a=0.000 |
| 274 | shape_3_per_frame1=t1 = time - int (time); |
| 275 | shape_3_per_frame2=sample = instance/num_inst; |
| 276 | shape_3_per_frame3=t_abs = sample*3; |
| 277 | shape_3_per_frame4=t_rel = sample-time/5; |
| 278 | shape_3_per_frame5=vol=bass+mid+treb; |
| 279 | shape_3_per_frame6=ampl = 2*t_abs/2*vol*.5; |
| 280 | shape_3_per_frame7= |
| 281 | shape_3_per_frame8=k1=sin(time/13); |
| 282 | shape_3_per_frame9=k2=sin(time/12); |
| 283 | shape_3_per_frame10=ox = ampl*sin (t_abs*(31+5*k1)) + sin(time/25)*(1-t_abs)*0.4 ; |
| 284 | shape_3_per_frame11=oy = ampl*cos (t_abs*(31+5*k2)); |
| 285 | shape_3_per_frame12=oz = -1 ; |
| 286 | shape_3_per_frame13= |
| 287 | shape_3_per_frame14= |
| 288 | shape_3_per_frame15=r = sqr(sin(t_rel*3.4)); |
| 289 | shape_3_per_frame16=g = sqr(sin(t_rel)); |
| 290 | shape_3_per_frame17=b = sqr (cos(t_rel*1.8)); |
| 291 | shape_3_per_frame18= |
| 292 | shape_3_per_frame19=//a=(0.1*(sin(t_abs*3)) + 0.6*q3*below (abs(1-t_abs-t1 ),0.3))*a; |
| 293 | shape_3_per_frame20= |
| 294 | shape_3_per_frame21=xang = time/9.5; |
| 295 | shape_3_per_frame22=yang = 0*time/7; |
| 296 | shape_3_per_frame23=zang = -time/22; |
| 297 | shape_3_per_frame24=fov = 0.5; |
| 298 | shape_3_per_frame25= |
| 299 | shape_3_per_frame26= |
| 300 | shape_3_per_frame27=// Rotation um x,y,z |
| 301 | shape_3_per_frame28= |
| 302 | shape_3_per_frame29=mx = ox*cos(zang) - oy*sin(zang); |
| 303 | shape_3_per_frame30=my = ox*sin(zang) + oy*cos(zang); |
| 304 | shape_3_per_frame31= |
| 305 | shape_3_per_frame32=ox = mx; |
| 306 | shape_3_per_frame33=oy = my; |
| 307 | shape_3_per_frame34=mx = ox*cos(yang) + oz*sin(yang); |
| 308 | shape_3_per_frame35=mz = - ox*sin(yang) + oz*cos(yang); |
| 309 | shape_3_per_frame36=ox = mx; |
| 310 | shape_3_per_frame37=oz = mz; |
| 311 | shape_3_per_frame38=my = oy*cos(xang) - oz*sin(xang); |
| 312 | shape_3_per_frame39=mz = oy*sin(xang) + oz*cos(xang); |
| 313 | shape_3_per_frame40=oy = my; |
| 314 | shape_3_per_frame41=oz = mz; |
| 315 | shape_3_per_frame42= |
| 316 | shape_3_per_frame43=oz = oz - 6; |
| 317 | shape_3_per_frame44=x = ox*fov/oz +0.5; |
| 318 | shape_3_per_frame45=//x = (x-.5)*0.75 + 0.5; |
| 319 | shape_3_per_frame46=y = oy*fov/oz + 0.5; |
| 320 | shape_3_per_frame47= |
| 321 | per_frame_1=wave_r = wave_r + 0.400*( 0.60*sin(0.933*time) + 0.40*sin(1.045*time) ); |
| 322 | per_frame_2=wave_g = wave_g + 0.400*( 0.60*sin(0.900*time) + 0.40*sin(0.956*time) ); |
| 323 | per_frame_3=wave_b = wave_b + 0.400*( 0.60*sin(0.910*time) + 0.40*sin(0.920*time) ); |
| 324 | per_frame_4=zoom = zoom + 0.013*( 0.60*sin(0.339*time) + 0.40*sin(0.276*time) ); |
| 325 | per_frame_5=rot = rot + 0.040*( 0.60*sin(0.381*time) + 0.40*sin(0.579*time) ); |
| 326 | per_frame_6= |
| 327 | per_frame_7=q2=bass+treb+mid; |
| 328 | per_pixel_1=zoom = zoom + (x*2-1)*(0.08+0.15*sin(time*0.321)) + (y*2-1)*(0.08+0.15*cos(time*0.321)); |
| 329 | per_pixel_2=sx=sx-(zoom-1)*0.1; |
| 330 | per_pixel_3=sy=sy-(zoom-1)*0.1; |
| 331 | warp_1=`shader_body |
| 332 | warp_2=`{ |
| 333 | warp_3=` float2 scale = float2(1280,1024)*texsize.zw; // 1280x1024 : the resolution i modelled this shader with |
| 334 | warp_4=` float1 d = 0.005; |
| 335 | warp_5=` float1 dx = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).x*scale.x; |
| 336 | warp_6=` float1 dy = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).x*scale.y; |
| 337 | warp_7=` float1 dxb = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).x*scale.x; |
| 338 | warp_8=` float1 dyb = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).x*scale.y; |
| 339 | warp_9=` float2 my_uv = uv - float2(dx,dy)*0.01 + float2(dxb,dyb)*0.003; |
| 340 | warp_10=` |
| 341 | warp_11=` |
| 342 | warp_12=` |
| 343 | warp_13=` float2 v = 0.01; |
| 344 | warp_14=` ret.x = tex2D( sampler_fw_main, my_uv -floor(my_uv)*0).x; |
| 345 | warp_15=` |
| 346 | warp_16=` |
| 347 | warp_17=` ret.x += (ret.x - GetBlur3(uv).x)*.1; |
| 348 | warp_18=` ret.x += 0.004; |
| 349 | warp_19=` |
| 350 | warp_20=` |
| 351 | warp_21=`//-------------------------------- |
| 352 | warp_22=` |
| 353 | warp_23=` my_uv = uv + float2(dy,-dx)*0.05*(1.2-GetBlur3(uv).y); |
| 354 | warp_24=` |
| 355 | warp_25=` |
| 356 | warp_26=` |
| 357 | warp_27=` v = 0.01; |
| 358 | warp_28=` ret.z = tex2D( sampler_fw_main, my_uv).z; |
| 359 | warp_29=` |
| 360 | warp_30=` ret.z += (ret.z - GetBlur1(uv).z)*length(my_uv-uv)*180/length(scale); |
| 361 | warp_31=` ret.z *= 0.8; |
| 362 | warp_32=` ret.z += 0.004; |
| 363 | warp_33=` |
| 364 | warp_34=` |
| 365 | warp_35=` |
| 366 | warp_36=`//-------------------------------- |
| 367 | warp_37=` |
| 368 | warp_38=` d = 0.01; |
| 369 | warp_39=` my_uv = float2(-dy,dx)*0.045; |
| 370 | warp_40=` |
| 371 | warp_41=` dx = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).y*scale.x; |
| 372 | warp_42=` dy = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).y*scale.y; |
| 373 | warp_43=` my_uv += uv - float2(dx,dy)*0.03; |
| 374 | warp_44=` |
| 375 | warp_45=` |
| 376 | warp_46=` |
| 377 | warp_47=` v = 0.01; |
| 378 | warp_48=` ret.y =tex2D( sampler_fw_main, my_uv).y; |
| 379 | warp_49=` |
| 380 | warp_50=` |
| 381 | warp_51=` ret.y += (ret.y - GetBlur3(my_uv).y)*0.1 + 0.01; |
| 382 | warp_52=`//ret = 0; |
| 383 | warp_53=`} |
| 384 | comp_1=`shader_body |
| 385 | comp_2=`{ |
| 386 | comp_3=` |
| 387 | comp_4=` ret = tex2D(sampler_main, uv).xyz; |
| 388 | comp_5=`// ret += GetBlur1(uv)*0.4; |
| 389 | comp_6=`float2 uv2 = uv*.8+.1*tan(1.55*ret.xy)-.02*sin(1.33*ret.yx)-.01*bass_att; |
| 390 | comp_7=` ret = tex2D(sampler_main,uv2); |
| 391 | comp_8=` ret += GetBlur1(uv2); |
| 392 | comp_9=` // palettize: |
| 393 | comp_10=` ret = pow(lum(ret), float3(0.3, 1+.5*roam_sin.x, 1.8)); |
| 394 | comp_11=` |
| 395 | comp_12=` // invert |
| 396 | comp_13=` ret = saturate(ret); |
| 397 | comp_14=` ret *= 1.25*ret; |
| 398 | comp_15=` //ret.xyz *= 2; // a little bit of overbright |
| 399 | comp_16=`} |
| 400 | comp_17=` |
| 401 | comp_18=` |